[][src]Crate pcap_file

This crate contains parsers and readers for Pcap and Pcapng files. It also contains a writer for Pcap files.

For Pcap files see PcapReader, PcapParser and PcapWriter.

For PcapNg files see PcapNgReader and PcapNgParser.

Modules

pcap
pcapng

Structs

PcapNgParser

Parser for a PcapNg formated stream.

PcapNgReader

Wraps another reader and uses it to read a PcapNg formated stream.

PcapParser

Parser for a Pcap formated stream.

PcapReader

Wraps another reader and uses it to read a Pcap formated stream.

PcapWriter

This struct wraps another writer and uses it to write a Pcap formated stream.

Enums

DataLink

Data link type

Endianness

Endianness of the pcap

PcapError
TsResolution

Timestamp resolution of the pcap